﻿using DAL;
using Model;

namespace BLL
{
    public class Member_BLL
    {
        public Member_BLL(Member_DAL dal)
        {
            Dal = dal;
        }

        public Member_DAL Dal { get; }

        /// <summary>
        /// 会员添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public int MemberAdd(Member_Model m)
        {
            return Dal.MemberAdd(m);
        }
        /// <summary>
        /// 会员列表
        /// </summary>
        /// <param name="Name"></param>
        /// <param name="Phone"></param>
        /// <param name="SFZ"></param>
        /// <param name="KH"></param>
        /// <param name="CTime"></param>
        /// <returns></returns>
        public List<Member_Model> MemberShow(string? Name, string? Phone, string? SFZ, string? KH)
        {
           
            return Dal.MemberShow(Name, Phone, SFZ, KH);
        }
    }
}
